package com.fin.zw.intelligentbot.entity;

import lombok.Data;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.util.Date;

@Entity
@Table(appliesTo = "blacklist", comment = "电话黑名单")
@Data
public class Blacklist extends BaseEntity {

    @Column(columnDefinition = "varchar(20) COMMENT '电话号码'")
    private String phone;

    @Column(columnDefinition = "varchar(64) COMMENT '创建人id'")
    private String createId;

    @Column(columnDefinition = "varchar(20) COMMENT '创建人姓名'")
    private String createName;

    @Column(columnDefinition = "datetime COMMENT '创建时间'")
    private Date createTime;
}
